移除方向变化事件的监听函数
onDeviceMotionChange 传入的监听函数。不传此参数则移除所有监听函数。
const listener = function (res) { console.log(res) } tap.onDeviceMotionChange(listener) tap.offDeviceMotionChange(listener) // 需传入与监听时同一个的函数对象
上一页 « tap.onDeviceMotionChange 下一页 tap.setDeviceOrientation »